#### QUICK TESTING SEARCHING QUERIES #####

# a small function library for analyzing the companies that result from a set of product queries

# load required libraries
library(XML) # install.packages('XML')
library(stringr) # install.packages('stringr')
library(plyr) # install.packages('plyr')
library(googleVis) #install.packages('googleVis')
library(reshape2)

# sources functions for quick analysis
source('./quickAnalysis/functionLibrary_QT.R')

buildDataObject(searchTableLoc='./quickAnalysis/prodAlgoTable.csv',  dataObjectOutputLoc='./quickAnalysis/searchData2.RData')

quickReport.overview('./quickAnalysis/searchData.RData',outputFile='./quickAnalysis/dataSummary.txt')

quickReport.byProduct(dataInputObjectLoc='./quickAnalysis/searchData.RData',outputChartDir='./quickAnalysis/outputCharts/')

quickReport.byCompany(dataInputObjectLoc='./quickAnalysis/searchData.RData',outputChartDir='./quickAnalysis/outputCharts/')
